package com.xinqi.modules.prepare.prepare.dto.req;

import com.xinqi.common.base.response.Param;
import com.xinqi.modules.prepare.prepare.enums.PrepareOperateTypeEnum;
import com.xinqi.modules.prepare.prepare.enums.PrepareSubOperateTypeEnum;
import com.xinqi.modules.prepare.prepare.enums.PrepareTypeEnum;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

/**
 * 备课区操作记录表-请求对象-查询
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
public class PrepareOperateLogQueryDTO extends Param {
    /**
     * ID
     */
    @Parameter(description = "日志id", example = "100001")
    private Long id;
    /**
     * 备课区id
     */
    @Parameter(description = "备课区id", example = "100002", hidden = true)
    private Long prepareId;
    /**
     * 备课区类型
     */
    @Parameter(description = "备课区类型，1:互动课件；2:资料；3:作业；4:测评；5:讨论；6:互动视频；8:公告；99:题库；10:成员", example = "1")
    private PrepareTypeEnum prepareType;
    /**
     * 标题
     */
    @Parameter(description = "标题", example = "资料：好看的图片22")
    private String title;
    /**
     * 操作类型：FILE_EDIT-文件编辑；FILE_DEL-文件删除；MEMBER_CHANGE-成员变动；QUESTION_EDIT-编辑试题，QUESTION_DEL-删除试题
     */
    @Parameter(description = "操作类型：FILE_EDIT-文件编辑；FILE_DEL-文件删除；MEMBER_CHANGE-成员变动；QUESTION_EDIT-编辑试题，QUESTION_DEL-删除试题", example = "FILE_EDIT")
    private PrepareOperateTypeEnum operateType;
    /**
     * 操作子类型：ADD-添加了；EDIT-编辑了；CHANGE-变更了；DEL-删除了
     */
    @Parameter(description = "操作子类型：ADD-添加了；EDIT-编辑了；CHANGE-变更了；DEL-删除了", example = "ADD")
    private PrepareSubOperateTypeEnum operateSubType;

}
